home *** CD-ROM | disk | FTP | other *** search
- Path: news1.ucsd.edu!usenet
- From: djohnson@tartarus.ucsd.edu (Darin Johnson)
- Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
- Subject: Re: C or C++ for a 14-year old?
- Date: 08 Jan 1996 16:12:08 -0800
- Organization: UCSD Computer Science and Engineering Department
- Sender: djohnson@tartarus.ucsd.edu
- Message-ID: <qq68emns4n.fsf@tartarus.ucsd.edu>
- References: <4b30ld$lp2$1@mhafc.production.compuserve.com>
- <w31V7MD4ED1aLz3@dexam.another.gun.de> <4bq9vh$11a@queeg.apci.net>
- <4bqfob$l9a@ixnews3.ix.netcom.com> <4ch0fm$ldg@gold.datalytics.com>
- <4cperv$g3j@news.bridge.net>
- NNTP-Posting-Host: tartarus.ucsd.edu
- In-reply-to: David Byrden's message of 7 Jan 1996 21:44:31 GMT
- X-Newsreader: Gnus v5.0
-
- David Byrden <100101.2547@compuserve.com> writes:
- > What they may NOT learn, unless they
- > are guided, is good principles of software design and testing
- > and documentation. Teach these to a student, and you will have
- > done him/her a far greater favour than you could by introducing
- > a new language.
-
- When I proctored an intro programming class for a couple of years, I
- often had to spend extra time helping students who had learned BASIC
- to unlearn their bad habits. Very often such students were resistant
- to changing the way they did things, and said out loud in
- unmistakeable terms "why do I have to take this stupid class, I
- already know how to program" or "why should I do things your way. I
- imagine that today, with C being more popular, that the freshmen have
- to unlearn C as well.
-
- So there's a pull two ways. First, you want your child to learn about
- computers, and second, you don't want your child to pick up the wrong
- ideas along the way. That's why so many recommend avoiding BASIC,
- because it's so simple to learn, and thus is popular as a first
- language, but at the same time it is notorious for introducing poor
- programming practices. I would suggest your best choice is to get a
- Pascal compiler, and let the child work on that first. Teaching BASIC
- first may satisfy the immediate desires, but it will probably result
- in long term problems if your child decides to continue in the field
- (or worse yet, ends up as a scientist who knows a bit of fortran :-)
- For the same reason, I would also advise against a C compiler, since
- learn-it-yourself C can be pretty devestating as well.
-
- A good Pascal compiler should be cheap, maybe there are some good
- free ones as well. And they aren't limiting, you can do a heck of
- a lot with most PC or Mac Pascal systems. From there, migrating to
- other languages isn't hard. (personally, I'd think it would be
- interesting to see the result of learning lisp as a first language,
- but that probably takes a bit more discipline for a self taught
- language)
- --
- Darin Johnson
- djohnson@ucsd.edu -- How come my mind went off for lunch before I did?
-